package ext

import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.kotlin

fun Project.configureAndroidDep() {
    dependencies {
        add("implementation", libs.findBundle("dynamic-locale").get())
        add("implementation", libs.findBundle("androidBundle").get())
        add("implementation", libs.findBundle("lifecycleBundle").get())
        add("implementation", libs.findBundle("htttpBundle").get())
        add("implementation", libs.findBundle("glideBundle").get())

        add("implementation", libs.findBundle("koinAndroidBundle").get())
    }
}

fun Project.configureKotlinDep() {
    dependencies {
        add("implementation", kotlin("reflect"))
        add("implementation", libs.findBundle("kotlinBundle").get())
    }
}